<div class="container">
  <h1>load()</h1>
  <p class="signature"> function load(string $target_module): void </p>
  <h2>Description</h2>
  <div class="description">
    <p>Loads a module by instantiating its controller.</p>
  </div>
  <h2>Parameters</h2>
  <table>
    <thead>
      <tr>
        <th>Parameter</th>
        <th>Type</th>
        <th>Description</th>
        <th>Default</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>$target_module</td>
        <td>string</td>
        <td>The name of the target module.</td>
        <td>N/A</td>
      </tr>
    </tbody>
  </table>
  <h2>Return Value</h2>
  <table>
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>void</td>
        <td>No return value.</td>
      </tr>
    </tbody>
  </table>
  <h2>Example Usage</h2>
  <div class="example">
    <pre>
$this->modules->load("welcome");</pre>
  </div>

  <h2>Alternative Technique</h2>
  <div class="alternative">
    <p>The main Trongate class provides the <code>module()</code> method as a convenient alias to <code>$this->modules->load()</code>. This method offers a semantically clear alternative for developers, ensuring the codebase remains expressive and maintainable while utilizing the same underlying functionality as the <code>load()</code> method.</p>

    <h3>Example Usage of Alternative Technique</h3>
    <pre>$this->module('welcome');</pre>


</div>